package com.ruoyi.culture.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class RegisterPart implements Serializable {
    @ApiModelProperty("id")
    @JsonProperty("id")
    private int id;

    @JsonProperty("username")
    private String userName;

    @ApiModelProperty("身份证号码")
    @JsonProperty("identity")
    private String identity;

    @ApiModelProperty("注册类型")
    @JsonProperty("register_type")
    private int registerType;

    @ApiModelProperty("住址")
    @JsonProperty("address")
    private String address;

    @ApiModelProperty("电话")
    @JsonProperty("phonenumber")
    private String phonenumber;

    @ApiModelProperty("邮箱")
    @JsonProperty("email")
    private String email;

    @ApiModelProperty("企业有效营业执照")
    @JsonProperty("license")
    private String license;

    @ApiModelProperty("企业信息")
    @JsonProperty("enterprise_info")
    private String enterpriseInfo;

    @ApiModelProperty("法人信息")
    @JsonProperty("legal_info")
    private String legalInfo;

    @ApiModelProperty("创建时间")
    @JsonProperty("create_time")
    @JsonIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonProperty("modified_time")
    @JsonIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime;

    @ApiModelProperty("保留字段")
    @JsonProperty("Reversed")
    private String reversed;
}
